import { simpleRequest } from '@/api/http';

const API = {
    GET_INDEX_DATA: '/configure/api/videoResourcePage/h5/list',
    GET_SHARE_DATA: '/configure/api/short-links/',
};

export const getIndexData = (id: string) => simpleRequest(API.GET_INDEX_DATA, 'get', { id })();

/**
 * @description: 分享的数据
 * @param {string} clubId 部落ID
 * @return {*}
 */
export const getShareData = (shareId) => simpleRequest(API.GET_SHARE_DATA + shareId, 'get', {})();
